package koala.kuangjiademo.data;

import java.io.Serializable;
import java.util.List;

public class Organization implements Serializable {
    public int deptcode;
    public String deptname;
    public String deptshortname;
    public int parentdeptcode;
    public int corpid;
    public int id;

    public int getDeptcode() {
        return deptcode;
    }

    public void setDeptcode(int deptcode) {
        this.deptcode = deptcode;
    }

    public String getDeptname() {
        return deptname;
    }

    public void setDeptname(String deptname) {
        this.deptname = deptname;
    }

    public String getDeptshortname() {
        return deptshortname;
    }

    public void setDeptshortname(String deptshortname) {
        this.deptshortname = deptshortname;
    }

    public int getParentdeptcode() {
        return parentdeptcode;
    }

    public void setParentdeptcode(int parentdeptcode) {
        this.parentdeptcode = parentdeptcode;
    }

    public int getCorpid() {
        return corpid;
    }

    public void setCorpid(int corpid) {
        this.corpid = corpid;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public static class Data implements Serializable {
        public List<Organization> records;

        public List<Organization> getRecords() {
            return records;
        }

        public void setRecords(List<Organization> records) {
            this.records = records;
        }
    }

    public static class Response extends ResponsePacket<Data> {

    }
}
